package com.tarena.lbs.business.dao.repository;

import com.github.pagehelper.PageInfo;
import com.tarena.lbs.activity.pojo.vo.ActivityVO;
import com.tarena.lbs.base.protocol.pager.PageResult;
import com.tarena.lbs.business.pojo.po.StorePO;
import com.tarena.lbs.business.pojo.query.AreaStoreQuery;
import com.tarena.lbs.business.pojo.query.StoreQuery;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import com.tarena.lbs.business.pojo.vo.StoreVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StoreRepository {

    StorePO saveStore(StorePO po);



    List<StorePO> storeByCityList(AreaStoreQuery query);
    PageInfo<StorePO> pageList(StoreQuery query);

//    PageInfo<StorePO> pageList(StoreQuery query);

    void updateById(StorePO storePO);

    void deleteById(Long id);

    StorePO storeEdit(Integer id);

    List<StorePO> getStoreByCity(AreaStoreQuery query);

    List<StorePO> getStoreList();

    List<ActivityVO> getActivity(Integer id);
}
